package com.yx.china.project.entities;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResponseResult<T> implements Serializable {

    private int resCode;

    private String resMessage;

    private T resData;

    public ResponseResult(int resCode, String resMessage){
           this.resCode=resCode;
           this.resMessage=resMessage;
    }
}
